﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectFitus.Models.User>" %>


        
        <fieldset>
            <legend>Mínar upplýsingar</legend>
            
            <%= Html.HiddenFor(model => model.id)%>

            <div class="editor-label">
                <%= Html.LabelFor(model => model.firstName) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.firstName) %>
                <%= Html.ValidationMessageFor(model => model.firstName) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.lastName) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.lastName) %>
                <%= Html.ValidationMessageFor(model => model.lastName) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.email) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.email) %>
                <%= Html.ValidationMessageFor(model => model.email) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.userName) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.userName) %>
                <%= Html.ValidationMessageFor(model => model.userName) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.userDescription) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.userDescription) %>
                <%= Html.ValidationMessageFor(model => model.userDescription) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.country) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.country) %>
                <%= Html.ValidationMessageFor(model => model.country) %>
            </div>

            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.dateOfBirth, String.Format("{0:g}", Model.dateOfBirth)) %>
                <%= Html.ValidationMessageFor(model => model.dateOfBirth) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.profileImageUrl) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.profileImageUrl) %>
                <%= Html.ValidationMessageFor(model => model.profileImageUrl) %>
            </div>

                

        </fieldset>         
            

